/**
 * Created by dllo on 18/4/8.
 */
public class Plane {
    private String ariline; // 航空公司
    private String destination; // 目的地
    private int gate; // 行李口

    public Plane() {
    }

    public Plane(String ariline, String destination, int gate) {
        this.ariline = ariline;
        this.destination = destination;
        this.gate = gate;
    }

    public void fly() {
        System.out.println(ariline + "航空公司的目的地是:" + destination + ",行李口在:" + gate);
    }

    public String getAriline() {
        return ariline;
    }

    public void setAriline(String ariline) {
        this.ariline = ariline;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public int getGate() {
        return gate;
    }

    public void setGate(int gate) {
        this.gate = gate;
    }
}
